
import requests
import json

def get_Basic(webid,name,id):

    headers = {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "content-type": "application/json",
        "device": "0",
        "device-id": "BXS2X3VLnsdCHHbfXlEeSRAyL/Pi/qNmkT/7WgW+OCaqEaCMgbB8Ni8IDpArhHLwKCyQQVwMEeYT/CuWg1JviTA==",
        "eagleeye-pappname": "fyw9n1jhpf@e3fdbf165821069",
        "eagleeye-sessionid": "z8mRe2bplLX78OzO814q09XgCn67",
        "eagleeye-traceid": "5d3f45141729648356914100821069",
        "h5version": "v1.0.0",
        "origin": "https://zhengce.qizhidao.com",
        "priority": "u=1, i",
        "referer": "https://zhengce.qizhidao.com/",
        "sec-ch-ua": "\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\"",
        "sec-ch-ua-mobile": "?0",
        "sec-ch-ua-platform": "\"Windows\"",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-site",
        "signature": "98c845adefcb2679f7c70a852ae313b9.Qbu3Cb",
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36",
        "user-agent-web": "X/95abcb54432560b72a9f88fe3f8bbe83"
    }
    cookies = {
        "wz_uuid": "X%2F95abcb54432560b72a9f88fe3f8bbe83",
        "sensorsdata2015jssdkcross": "%7B%22distinct_id%22%3A%221917cfa4a94107-054fece585a75d8-26001151-2073600-1917cfa4a95c04%22%2C%22first_id%22%3A%22%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E8%87%AA%E7%84%B6%E6%90%9C%E7%B4%A2%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E4%BC%81%E7%9F%A5%E9%81%93%22%2C%22%24latest_referrer%22%3A%22https%3A%2F%2Fwww.baidu.com%2Fs%22%7D%2C%22identities%22%3A%22eyIkaWRlbnRpdHlfY29va2llX2lkIjoiMTkxN2NmYTRhOTQxMDctMDU0ZmVjZTU4NWE3NWQ4LTI2MDAxMTUxLTIwNzM2MDAtMTkxN2NmYTRhOTVjMDQifQ%3D%3D%22%2C%22history_login_id%22%3A%7B%22name%22%3A%22%22%2C%22value%22%3A%22%22%7D%2C%22%24device_id%22%3A%221917cfa4a94107-054fece585a75d8-26001151-2073600-1917cfa4a95c04%22%7D",
        "sensorsdata2015jssdkchannel": "%7B%22prop%22%3A%7B%22_sa_channel_landing_url%22%3A%22%22%7D%7D",
        "acw_tc": "51d877341729647933996104721069701830931975f68900a14e3eb4d82c55",
        "Hm_lvt_9ea3e7293b7c088e0d2c88874b63e7dd": "1729648012,1729648326",
        "Hm_lpvt_9ea3e7293b7c088e0d2c88874b63e7dd": "1729648326",
        "HMACCOUNT": "4C9F9B32FED286D7",
        "s_webp": "s",
        "x-web-ip": "121.41.11.149, 121.199.80.156, 120.78.44.157, 100.121.108.10",
        "accessToken": "",
        "token": ""
    }
    url = "https://app.qizhidao.com/qzd-bff-enterprise/qzd/v1/enterprise/pc/getBasicEnterprise"
    data = {
        "eid": id,
        "name": name,
        "source": "pc"
    }
    data = json.dumps(data, separators=(',', ':'))
    response = requests.post(url, headers=headers, cookies=cookies, data=data)
    return response.json()

if __name__=='__main__':
    result=get_Basic(webid=None,name='苏州新区高新技术产业股份有限公司',id='7f41dda020c812228b7dd0d14813ed11')
    print(result)